projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b038483
)
(calculate-c-indent): When checking whether function decl
author
Richard M. Stallman
<rms@gnu.org>
Thu, 29 Jul 1993 04:01:09 +0000
(
04:01
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 29 Jul 1993 04:01:09 +0000
(
04:01
+0000)
is inside a comment, move back to the `(' that starts the arglist.
lisp/progmodes/c-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-mode.el
b/lisp/progmodes/c-mode.el
index 9b20d6f72d99bf2a96dc835d34a2e7d0fdbafeb1..cdbf22463132b5882410897e6ee5342339619732 100644
(file)
--- a/
lisp/progmodes/c-mode.el
+++ b/
lisp/progmodes/c-mode.el
@@
-642,6
+642,8
@@
Returns nil if line starts inside a string, t if in a comment."
;; Make sure the "function decl" we found
;; is not inside a comment.
(progn
+ ;; Move back to the `(' starting arglist
+ (goto-char lim)
(beginning-of-line)
(while (and (not comment)
(search-forward "/*" lim t))